#include<iostream>
#include<cstring>
#include<unistd.h>
#include<sys/types.h>
int main()
{
    printf("111\n");
    fprintf(stdout,"2222\n");
    const char* s = "33333\n";
    fwrite(s,strlen(s),1,stdout);

    const char* ss = "4444\n";
    write(1,ss,strlen(ss));

    fork();

    //std::cout<<"hello cout"<<std::endl;

    //std::cerr<<"hello cerr"<<std::endl;
    ////fprintf();
    return 0;
}
